package net.akkz.dao;

import java.util.ArrayList;

import net.akkz.dbFactory.Session;
import net.akkz.exception.BuildClassError;
import net.akkz.exception.SQLExcuteException;
import net.akkz.model.Fulture;

public interface FultureDao
{
	public void addFeature(Session session, Fulture fulture) throws SQLExcuteException;
	
	public ArrayList<Fulture> findFulture(Session session, int start, int end) throws SQLExcuteException, BuildClassError;
	
	public ArrayList<Fulture> findFultureOrderByJoined(Session session, int start, int end) throws SQLExcuteException, BuildClassError;
	
	public ArrayList<Fulture> findFultureByStudentId(Session session, int studentId) throws SQLExcuteException, BuildClassError;
	
	public Fulture getFulture(Session session, int fultureId) throws SQLExcuteException, BuildClassError;
	
	public void updateFultureJoined(Session session, Fulture fulture) throws SQLExcuteException;
	
	public void deleteFulture(Session session, int fultureId) throws SQLExcuteException;
}
